<?php
declare(strict_types=1);

use Phinx\Migration\AbstractMigration;

final class ModifyColumnTableInFieldTable extends AbstractMigration
{
    public function up()
    {
        $this->table("field")->changeColumn("table", 'char', ['default' => '', 'limit' => 128, 'comment' => '所属表'])
            ->save();
    }

    public function down()
    {
        $this->table("field")->changeColumn("table", 'char', ['default' => '', 'limit' => 36, 'comment' => '所属表'])->save();
    }
}
